/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is COID coidgen tool.
 *
 * The Initial Developer of the Original Code is
 * PosAm.
 * Portions created by the Initial Developer are Copyright (C) 2003
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 * Robo Strycek
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */



#ifndef __STD_STRINGS_H
#define __STD_STRINGS_H


#include "os.h"



const char STR_AUTHOR[] = "coidgen";



const char STR_DEV_EXPORT_NAME[] = "coid_get_sdir2";

const char STR_CLIENT_DIR_NAME[] = "client";

const char STR_coid_return_value[] = "_coid_return_value";
const char STR_coid_count_append[] = "__coid_evaluated__";




const char STR_accept[] = "accept_";
const char STR_cmd_interface[] = "cmd_interface";
const char STR_connect_ret_val[] = "opcd";
const char STR_void[] = "void";
const char STR_const[] = "const";
const char STR_command_tokens[] = "command_tokens";
const char STR_account_id[] = "account_id";


const char STR_comment[] = "//";
const char STR_comment_L[] = "/*";
const char STR_comment_R[] = "*/";

const char STR_class[] = "class";
const char STR_struct[] = "struct";



const char STR_client_only_L[] = "/*{client_only";
const char STR_client_only_R[] = "client_only";
const char STR_client_L[] = "//{client";
const char STR_client_R[] = "//}client";
const char STR_everywhere_L[] = "//{everywhere";
const char STR_everywhere_R[] = "//}everywhere";




const char STR_coid_options[] = "NET_OPTIONS:";
const char STR_coid_dependencies[] = "NET_DEPENDENCIES:";

const char STR_coid_release[] = "NET_RELEASE:";		/// anywhere in any comment ==> will set release version of the device




const char STR_net_fnc[] = "net_fnc";
const char STR_net_malloc[] = "net_malloc";			/// 'net_out' argument will be allocated using 'malloc' allocator (default is 'new')
const char STR_net_countname[] = "net_count";		/// name for output
const char STR_net_count[] = "net_count(";			/// enter number of elements this argument points to
const char STR_net_openservice[] = "net_openservice(";	/// argument is used to open another service (usage: net_openservice(svc_name))
const char STR_net_remap[] = "net_remap(";
const char STR_net_map[] = "net_map(";

const char STR_net_in[] = "net_in";
const char STR_net_out[] = "net_out";
const char STR_net_inout[] = "net_inout";
const char STR_net_fetch[] = "net_fetch";
const char STR_net_nolog[] = "net_nolog";
const char STR_net_log[] = "net_log";
const char STR_net_meta[] = "net_meta";
const char STR_net_nolock[] = "net_nolock";
const char STR_net_account[] = "net_account";	    /// use this argument as in/out argument to set user account
const char STR_net_ptr[] = "net_ptr";			    /// transfer pointers (== hides 1 asterisk (*))



const char STR_net_ptr_cast_src[] = "(int_p) ";
const char STR_net_ptr_cast_dest[] = "(int_p &) ";



/// ERRORS:
const char STR_ERR_const[] = "Error in function '%s': output argument '%s' is a const argument\n";




#define STR_fnc_table_name			"COID_TABLE_%name%_%_version_%"


const char STR_OLD_HEADER_INFO[] = "// Service header info (for version checking),  ! DO NOT CHANGE !" EOL "\
static const char COID_bin_data[] =" EOL;
const char STR_OLD_HEADER_END[] = EOL ";" EOL "//*/" EOL;
const char STR_fnc_table_name_begin[] = "struct " STR_fnc_table_name " %derived_from% {"  EOL;


const char STR_OLD_HEADER_INFO_SEARCH[] = "// Service header info (for version checking),  ! DO NOT CHANGE !";




const char STR_include[] = "include";
const char STR_coid_svc_header[] = "coid/svc/coidsvc.h";








#endif	// ! __STD_STRINGS_H
